<?php
/************************FoxPHP威客系统************************/
/*                                                            */
/*  FoxPHP.Com (C)2006-2016 FoxPHP Inc.                       */
/*  This is NOT a freeware, use is subject to license terms   */
/*  FoxPHP威客系统是商业软件,使用于商业用途请购买授权         */
/*  V3.0 2016.3                                               */
/*  foxphp@aliyun.com                                         */
/*  http://www.foxphp.com                                     */
/*                                                            */
/**************************************************************/

namespace Member\Controller;
use Think\Controller;
class BilladdressController extends IndexController {
	
    public function indexAction(){
		
		$model=new \Member\Model\MemberAddressModel();
		
		//条数
		$this->assign('countdata',$model->GetCountData());
		
		//列表
		$this->assign('list',$model->GetArrayAllData());

		$this->display();	
    }
	
	//修改
	public function editAction(){
		
		$model=new \Member\Model\MemberAddressModel();
		
		$this->assign('manage',$model->GetArrayData($_GET['id']));
		
		$this->display();	
    }
	
}